﻿@model IEnumerable<FreightSoft.Models.SHIPMENTLINE>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.SHIPMENTLINENO)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.SHIPMENT.ORIGINPORT)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ORDERID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CUSTOMERID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.PARTID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.QUANTITY)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.VOLUME)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.WEIGHT)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.STATUS)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TRACKINGNO)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.SHIPMENTLINENO)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SHIPMENT.ORIGINPORT)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ORDERID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CUSTOMERID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PARTID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.QUANTITY)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.VOLUME)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.WEIGHT)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.STATUS)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TRACKINGNO)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
}

</table>
